using System;
using System.Collections.Generic;
using System.Text;

namespace OpenFlashChartLib
{
    public class ValueBoxer<T>
    {
        private T _value;

        public T Value
        {
            get { return _value; }
            set { _value = value; }
        }

        public override string ToString()
        {
            if (Equals(_value, default(T)))
                return "";
            return Util.ToSafeString(_value);
        }
    }
}
